package com.xxx.yuedong.community.service;

import com.xxx.yuedong.community.pojo.Activity;

import java.util.ArrayList;
import java.util.HashMap;

public interface ActivityService {

    int insert(Activity activity);

    int deleteById(Long id);

    int addActivityById(Long id);

    /**
     * 签到活动
     * @param id
     * @return
     */
    int checkActivity(Long id);

    ArrayList<HashMap> searchAllActivity();


}
